package com.yhq.basic.function;

/**
 * @author hqyin
 * @date 2023/2/7 4:44 下午
 */
public class TestTCustom {
    public static void main(String[] args) {
        TCustom tCustom = new TCustomImpl();
        Object obj = tCustom.getInfo(t -> t + 10, 20);
        System.out.println(obj);

        tCustom.addTest(System.out::println, 2);
    }
}
